package com.renmindangjiazuozu.wgj;

public class Cat {
    private String id;
    private  String name;
    private  String color;
    private  String appearance;
    private  String home;
    public String getId(){
        return this.id;
    }
    public void setId(String id){
        this.id = id;
    }
    public String getName() {
        return this.name;
    }
    public void setName(String name){
        this.name = name;
    }
    public String getColor(){
        return this.color;
    }
    public void setColor(String color){
        this.color = color;
    }
    public String getAppearance() {
        return this.appearance;
    }
    public void setAppearance(String appearance) {
        this.appearance = appearance;
    }
    public String getWork() {
        return this.home;
    }
    public void setWork(String home) {
        this.home=home;
    }
    public void printCat(String address){
        System.out.println("猫在"+address+"跑");
    }

    @Override
    public String toString(){
        return "id:"+this.id+"name:"+this.name;
    }
}
